﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucStaticContentDetail.ascx.cs" Inherits="Modules_WebsiteBackEnd_wucStaticContentDetail" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="../Common/wucToolbar.ascx" TagName="wucToolbar" TagPrefix="uc1" %>
<asp:UpdatePanel ID="UpdatePanelDetail" runat="server">
    <ContentTemplate>
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="790px" class="TableGrayBorder">
            <tbody>
                <tr height="30px">
                    <td align="right">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f0f2f4">
                            <tbody>
                                <tr height="40px">
                                    <td width="5px">&nbsp;</td>
                                    <td align="center" valign="middle">
                                        <b><asp:Label ID="lblDetailMode" runat="server"></asp:Label></b><asp:Label ID="lblCurrentMode" runat="server" Visible="False"></asp:Label>
                                    </td>
                                    <td width="5px">&nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="700">
                            <tbody>                                                
                                <tr height="35px" valign="middle">
                                    <td width="10px">
                                        <img src="../../Images/spacer.gif" width="10px" height="1px" />
                                    </td>
                                    <td align=left width="100px">
                                        ID 
                                    </td>
                                    <td align=left>
                                        <asp:Label ID="lblStaticContentID" runat="server" Width="200"></asp:Label>
                                    </td>                                
                                    <td width="10px"><img src="../../Images/spacer.gif" width="10px" height="1px" />
                                    </td>                                    
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td width="10px">
                                        <img src="../../Images/spacer.gif" width="10px" height="1px" />
                                    </td>
                                    <td align=left width="100px">
                                        Ngôn ngữ 
                                    </td>
                                    <td align=left>
                                        <telerik:RadComboBox ID="rcbLanguage" runat=server></telerik:RadComboBox>                                        
                                    </td>                                
                                    <td width="10px"><img src="../../Images/spacer.gif" width="10px" height="1px" />
                                    </td>                                    
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td>                                        
                                    </td>
                                    <td align=left>
                                        Mã nội dung
                                    </td>
                                    <td align=left>
                                        <asp:TextBox ID="tbStaticContentCode" runat="server" Width="620"></asp:TextBox>                                        
                                    </td>                                
                                    <td>
                                    </td>                                    
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td>
                                    </td>
                                    <td align=left>
                                        Ghi chú
                                    </td>
                                    <td align=left><asp:TextBox ID="tbNote" runat="server" Width="620"></asp:TextBox>
                                    </td>                                
                                    <td>
                                    </td>                                    
                                </tr>          
                                 <tr valign="middle">
                                    <td>
                                    </td>
                                    <td align=left>
                                        Nội dung
                                    </td>
                                    <td align=left>
                                        <telerik:radeditor runat="server" ID="redtNoiDung" Height="500px" Width="620px"
                                         Skin="Vista" ToolsFile="~/RadControls/RadEditorTools.xml" EnableViewState="true">                                             
                                             <ImageManager ViewPaths="~/Resources/StaticContentImage" UploadPaths="~/Resources/StaticContentImage" DeletePaths="~/Resources/StaticContentImage" />
                                             <FlashManager ViewPaths="~/Resources/StaticContentImage"  UploadPaths="~/Resources/StaticContentImage" DeletePaths="~/Resources/StaticContentImage"/>
                                             <MediaManager ViewPaths="~/Resources/StaticContentImage"  UploadPaths="~/Resources/StaticContentImage" DeletePaths="~/Resources/StaticContentImage"/>
                                             <DocumentManager ViewPaths="~/Resources/StaticContentImage"  UploadPaths="~/Resources/StaticContentImage" DeletePaths="~/Resources/StaticContentImage"/>
                                             <TemplateManager ViewPaths="~/Resources/StaticContentImage"  UploadPaths="~/Resources/StaticContentImage" DeletePaths="~/Resources/StaticContentImage"/>
                                        </telerik:radeditor>                                        
                                    </td>                                
                                    <td>
                                    </td>                                    
                                </tr>                            
                                <tr height="30px" valign="middle">                                    
                                    <td colspan="6" align="center">
                                        <asp:ValidationSummary ID="vsDetailValidate" runat="server" DisplayMode="SingleParagraph"
                                            Font-Bold="True" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
